Button size control in an automatic electronic sewing machine

ABSTRACT

In an automatic electronic sewing machine including a read only memory (ROM) and a random access memory (RAM), a needle is controlled to swing in order to shift the penetration position. In a button mode, the needle is controlled to swing to a predetermined position corresponding to one of a pair of throughholes formed in a button, and the other swing position corresponding to the other of the pair of throughholes formed in the button is variably controlled in response to the size of the button.

BACKGROUND AND SUMMARY OF THE INVENTION

The present invention relates to an automatic electronic sewing machine and, more particularly, to the button mode control in an automatic electronic sewing machine.

An automatic electronic sewing machine including a read only memory (ROM) and a random access memory (RAM) is proposed in copending application, AUTOMATIC ELECTRONIC SEWING MACHINE, Ser. No. 843,639, filed Oct. 19, 1977 by Tousaku Nakanishi, Kazuo Suzuki, Masayasu Makino, Nobuyoshi Miyao and Hirokazu Koda and assigned to the same assignee as the present application.

In such an automatic electronic sewing machine, button operation is difficult to perform when a distance provided between two throughholes formed in a button varies.

Accordingly, an object of the present invention is to provide a novel control system for performing button operation in an automatic electronic sewing machine.

Another object of the present invention is to facilitate button operation in an automatic electronic sewing machine.

Other objects and further scope of applicability of the present invention will become apparent from the detailed description given hereinafter. It should be understood, however, that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description.

To achieve the above objects, pursuant to an embodiment of the present invention, a needle is controlled to shift to the leftmost position when performing button operation. One of a pair of throughholes formed in a button is adjusted to locate at the leftmost position of the needle swing. The swing amplitude of the needle is variably adjusted so that the needle penetrates the other of the pair of throughholes when the needle position is shifted from the leftmost position. The swing amplitude is controlled by varying the gain amplitude of the needle shift control mechanism, or by digitally varying output signals derived from a control logic including a random access memory (RAM).

In a preferred form, an indication lamp is provided on a control panel to indicate that the preceding stitch pattern formation is completed. In case where the indication lamp is not enabled when the operator selects the button operation, the button operation is not ready for stable operation.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not limitative of the present invention and wherein:

FIG. 1 is a schematic view for explaining button operation in a conventional automatic electronic sewing machine;

FIGS. 2(A) and 2(B) are block diagrams of an embodiment of a control system of an automatic electronic sewing machine of the present invention;

FIG. 3 is a chart showing digital data for conducting button operation;

FIG. 4 is a chart showing coordinates of a needle position and a work feed plate position;

FIG. 5 is a schematic view for explaining button operation in an embodiment of an automatic electronic sewing machine of the present invention;

FIG. 6 is a block diagram of another embodiment of a control circuit for developing a control signal AS;

FIG. 7 is a block diagram of a portion of another embodiment of a control system of the automatic electronic sewing machine of the present invention;

FIGS. 8(A) through 8(G) are charts for explaining pattern data read-out operation in the automatic electronic sewing machine of FIGS. 2(A) and 2(B);

FIG. 9 is a front view of a control panel of the automatic electronic sewing machine of FIGS. 2(A) and 2(B);

FIG. 10 is a block diagram of a portion of still another embodiment of a control system of the automatic electronic sewing machine of the present invention; and

FIG. 11 is a front view of a control panel of the automatic electronic sewing machine of FIG. 10.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Referring now in detail to the drawings, and to facilitate a more complete understanding of the present invention, button operation conducted by a conventional automatic electronic sewing machine will be first described with reference to FIG. 1.

In the conventional automatic electronic sewing machine, when conducting button operation, a needle is controlled to swing right and left from a center position C by a predetermined value. Therefore, it is required to strictly adjust the center of a button to the center position C of the needle swing. The above adjustment is difficult to perform. In addition, when a distance l provided between a pair of throughholes is varied, it is very difficult to determine the swing amplitude of the needle, because the needle is controlled to swing right and left from the center position C.

The present invention is to minimize the above-mentioned difficulties of button operation. In the button mode, the needle is first shifted to the leftmost position to which one of a pair of throughholes formed in the button is adjusted. The opposing penetration position is controlled in accordance with a distance provided between the pair of throughholes.

FIGS. 2(A) and 2(B) show an embodiment of a control system of an automatic electronic sewing machine of the present invention.

A mechanical portion DM includes a motor 1 which is operated through a foot switch (not shown). When the motor 1 is rotated, a main shaft 2 is rotated and, then, a needle 3 is driven to perform the penetration operation. A linear motor 4 is associated with the needle 3 to swing the needle 3 right and left in the X-direction. The mechanical portion DM further includes a work feed dog 5 driven by a linear motor 6.

A needle position control stage AX develops a control signal toward the linear motor 4 for swinging the needle 3 in the X-direction. The needle position control stage AX mainly comprises an amplifier 7 which is connected to receive a data signal in the X-direction from a control stage and develops the control signal toward the linear motor 4 for swinging the needle 3 in accordance with the data signal.

A variable resistor 8 is interposed in a feedback loop from the output terminal to the input terminal of the amplifier 7 for determining the gain of the amplifier 7. The movable contact of the variable resistor 8 is connected to the output terminal of the amplifier 7 via a manual/auto selection switch 9 and an analog switch 10. The analog switch 10 is turned ON by a control signal AS which is derived from the control stage at a time when the needle 3 is driven to shift rightward in the button mode operation.

Now assume that the manual/auto selection switch 9 is inclined to the manual mode terminal. When the needle 3 is driven to swing leftward, the analog switch 10 is OFF and, therefore, the gain of the amplifier 7 is determined by the total resistance of the variable resistor 8. Contrarily, when the needle 3 is driven to swing rightward, the analog switch 10 is ON and, therefore, the gain of the amplifier 7 is adjustable by sliding the movable contact of the variable resistor 8. That is, the swing amplitude of the needle 3 toward right is adjustable through the use of the variable resistor 8. In case where the manual/auto selection switch 9 is inclined to the auto mode terminal, the gain of the amplifier 7 is determined by the total resistance of the variable resistor 8 irrespective of the fact whether the needle 3 is swung rightward or leftward.

The control stage is incorporated in an LSI. The control stage mainly comprises a read only memory ROM for storing digital data of various stitch patterns. The digital data stored in the read only memory ROM are introduced into a random access memory RAM in response to a command derived from pattern selection keys. That is, the read only memory ROM stores the digital coordinate data for each stitch of various stitch patterns. FIG. 3 shows an example of digital data stored in the read only memory ROM for conducting the button operation. The X section represents the positioning coordinates of the needle 3, and the Y section represents feed values of the word feed dog 5.

The digital pattern data temporarily stored in the random access memory RAM are led out in the stitch by stitch mode in response to a synchronization signal β, which represents the rotation of the main shaft 2. The thus developed digital pattern data are converted into an analog signal for controlling the needle swing and the word feed table movement.

The positioning control of the needle 3 and the work feed dog 5 is conducted at a time when the needle 3 is separated from the work. Operation of the control stage is controlled by a central processor unit CU.

The needle position can be selected from thirty-two (32) positions X₀ through X₃₁, and the work feed table position can be selected from thirty-two (32) positions Y₀ through Y₃₁. That is, the stitch pattern can be formed in a matrix of 32×32 as shown in FIG. 4.

More specifically, the random access memory RAM stores the positioning information in the following manner.

    ______________________________________                                         X COORDINATES                                                                               NEEDLE POSITION  RAM DATA                                         ______________________________________                                         X.sub.0      maximum shift in the                                                                            00000                                            .            positive direction                                                                              .                                                .                             .                                                .            .                .                                                .            .                .                                                .            .                .                                                .            .                .                                                X.sub.15     center           01111                                                         .                .                                                .            .                .                                                .            .                .                                                .            .                .                                                .            .                .                                                .            .                .                                                .            .                .                                                X.sub.31     maximum shift in the                                                                            11111                                                         negative direction                                                Y COORDINATES                                                                               WORK FEED TABLE  RAM DATA                                                      POSITION                                                          Y.sub.0      maximum feed in the                                                                             00000                                            .            negative direction                                                                              .                                                .            .                                                                 .            .                .                                                .            .                .                                                .            .                .                                                .            .                .                                                Y.sub.15     center           01111                                                         .                .                                                .            .                .                                                .            .                .                                                .            .                .                                                .            .                .                                                .            .                .                                                .            .                .                                                .            .                .                                                .            .                .                                                Y.sub.31     maximum feed in the                                                                             11111                                                         positive direction                                                ______________________________________                                    

Referring again to FIGS. 2(A) and 2(B), the control stage further comprises a key input KU including selection switches (not shown) for selecting a desired stitch pattern.

The read only memory ROM comprises plural sections P_(A), P_(B), --- P_(n), each of which stores pattern data of different patterns. Each section of the read only memory ROM is selected through a section selection circuit SC in accordance with the selection commands, and the pattern data stored in the selected section are transferred to the random access memory RAM via a gate circuit GR. The digital data for performing the button operation are stored in the section P_(B).

An address counter AC is associated with the random access memory RAM. The address counter AC is connected to receive the synchronization signal β, which is developed in synchronization with the rotation of the main shaft 2. Upon receiving the synchronization signal β, the address counter AC develops an output signal, which is applied to an address decoder AD in order to address a desired stop of the random access memory RAM. The digital data temporarily stored in the random access memory RAM as shown in FIG. 3 are sequentially read out from the bottom.

The X and Y coordinates data read out from the random access memory RAM are transferred to registers BX and BY through gates GX and GY, respectively, which are controlled their open/close operation by control signals derived from the central processor unit CU. The digital data introduced into the register BX are converted into an analog signal by a digital-to-analog converter ADX, and applied to the amplifier 7. The digital data introduced into the register BY are converted into an analog signal by a converter CY, and applied to the linear motor 6 for driving the work feed table.

A detection circuit CC is connected to receive the output signal of the address counter AC in order to develop a detection output when the addresses "8", "6" and "4" of the random access memory RAM shown in FIG. 3 are selected. The detection output of the detection circuit CC is applied to an AND gate G₂ through an OR gate G₁. An output signal of the AND gate G₂ is the control signal AS to be applied to the analog switch 10.

SB represents a button mode selection key. When the button mode selection key SB is depressed, a flip-flop F₁ is set, and the set output of the flip-flop F₁ is applied to the AND gate G₂.

Now assume that the button mode selection key SB is depressed, and the manual/auto selection switch 9 is inclined to the manual mode terminal. The flip-flop F₁ is set as discussed above, and the section P_(B) of the read only memory ROM is selected through the section selection circuit SC. Accordingly, the data information shown in FIG. 3 is transferred to the random access memory RAM through the gate circuit GR.

Under these conditions the main shaft 2 is manually rotated. In response to the rotation of the main shaft 2, the synchronization signal β is developed and the needle 3 is driven to move downward and upward. The synchronization signal β is applied to the address counter AC, and the contents of the address counter AC are increased one upon every generation of the synchronization signal β. When the contents of the address counter AC are one (1), the bottommost data "0" and "15 " stored in the random access memory RAM shown in FIG. 3 are read out. The thus read out data "0" are transferred to the register BX and, then, converted into an analog signal by the digital-to-analog converter ADX. The thus obtained analog signal is applied to the amplifier 7.

At this moment, the detection output is not developed from the detection circuit CC. The control signal AS is not developed and, hence, the analog switch 10 is OFF. The amplifier 7 develops an output signal corresponding to an output signal of the digital-to-analog converter ADX and determined by the total resistance of the variable resistor 8. The needle 3 is swung to the leftmost position X₀ shown in FIG. 4. Under these conditions the needle 3 penetrates a throughhole h₁ of a button 11 as shown in FIG. 5.

When the main shaft 2 further rotates, the following synchronization signal β is developed toward the address counter AC. The second data "19", "15" from the bottom of the random access memory RAM shown in FIG. 3 are read out, and the data "19" are converted to the analog signal and, then, applied to the amplifier 7 in such a manner as discussed above.

At this moment, the detection circuit CC detects that the address (8) is selected, and develops the control signal AS to turn on the analog switch 10. Therefore, the gain of the amplifier 7 becomes adjustable through the use of the variable resistor 8. That is, the position of the needle 3 is adjustable through the use of the variable resistor 8. For example, when the needle 3 is located at a position b₁ as shown in FIG. 5, the needle position can be shifted to a position b₁ ' corresponding to a throughhole h₂ of the button 11 as shown in FIG. 5 through the use of the variable resistor 8.

After completion of the above-mentioned needle position set operation, the motor 1 is rotated through the foot switch. The synchronization signal β is developed in response to the rotation of the main shaft 2, and the contents of the address counter AC are increased one by one. The data information stored in the random access memory RAM is sequentially read out to swing the needle 3 between the positions a₁ and b₁ '. The needle 3 penetrates the throughholes h₁ and h₂ to conduct the button operation.

When the button operation is desired to be conducted to another button which has throughholes between which distance is different from the preceding one, one of the throughholes is set to locate at the position a₁. And, the variable resistor 8 is adjusted so that the needle 3 is located at the other throughhole when the needle 3 is swung right in such a manner as discussed above.

In case where the manual/auto selection switch 9 is inclined to the auto mode terminal, the gain of the amplifier 7 is determined by the total resistance of the variable resistor 8 irrespective of the fact whether the needle 3 is swung rightward or leftward. It is preferable that the swing amplitude of the needle 3 in the auto mode is adjusted to the maximum distance of the throughholes of the commercially available button.

FIG. 6 shows a portion of another embodiment of the control stage for developing the control signal AS. Like elements corresponding to those of FIGS. 2(A) and 2(B) are indicated by like numerals.

The random access memory RAM includes an additional bit SSO in the X section. The bit SSO stores the information "1" at positions corresponding to the addresses (4), (6) and (8) of FIG. 3. The information "1" stored in the bit SSO is applied through the gate GX to an additional bit BSS of the register BX. The information "1" temporarily stored in the bit BSS of the register BX is applied to the analog switch 10 as the control signal AS.

FIG. 7 shows a portion of still another embodiment of the control stage. Like elements corresponding to those of FIGS. 2(A) and 2(B) are indicated by like numerals.

The digital data stored in the X section of the random access memory RAM are introduced into a subtractor SX, of which an output signal is applied to the register BX through the gate GX.

A multi-step selection switch SWX is provided for adjusting the swing amplitude of the needle 3. Each contact of the multi-step selection switch SWX is connected to the input terminal of AND gates G4₁ through G4_(n). The AND gates G4₁ through G4_(n) are connected to receive weighted signals "0" through "n", and the control signal AS derived from the OR gate G₁ and the AND gate G₂. Respective output signals of the AND gates G4₁ through G4_(n) are applied to the subtractor SX through an OR gate G₅. The embodiment of FIG. 7 does not require the variable resistor 8, the manual/auto selection switch 9 and the analog switch 10 shown in FIGS. 2(A) and 2(B).

Now assume that the multi-step selection switch SWX is selected at the third step as shown in FIG. 7. When the control signal AS is developed, that is, when the data "19" shown in FIG. 3 are read out, the numeral information "2" is applied through the AND gate G4₃ to the subtractor SX. The subtractor SX functions to perform the calculation (19-2), and develops the data "17" toward the register BX. In this way, the right shift value of the needle 3 is modified. At the moment when the data "0" are read out from the random access memory RAM, the AND gate G₂ is OFF and, therefore, the subtraction data are not applied to the subtractor SX. Accordingly, the data "0" derived from the random access memory RAM are applied to the register BX without modification. That is, the needle 3 is shifted left without modification.

It will be clear that the swing amplitude of the needle 3 can be adjusted by selecting a desired step of the multi-step selection switch SWX, because the subtraction data to be applied to the subtractor SX are varied in accordance with the selection of the multi-step selection switch SWX.

FIGS. 8(A) through 8(G) show data read out timings and the needle penetration timings. In case where any one of the pattern selection keys, for example, the button mode key SB is depressed under the condition where the tip end of the needle 3 is positioned below the work, the needle 3 is shifted to the first stitch position for the button operation when the needle 3 is separated from the work.

Contrarily, when the button mode key SB is depressed under the condition where the needle 3 is separated from the work, the needle 3 is shifted to the position determined by the last data of the preceding stitch pattern. Accordingly, the needle 3 can not be located at the first stitch position of the button operation when the needle 3 first penetrates the work. In this case, the needle 3 must be controlled to penetrate the work once before the button is set at a predetermined position.

To facilitate the above operation, the automatic electronic sewing machine of the present invention comprises an indication lamp for indicating the condition wherein the button mode key SB is depressed, and another indication lamp for indicating the condition wherein the button operation is in the stand-by condition.

Referring again to FIGS. 2(A) and 2(B), the output signal of the flip-flop F₁ is also applied to AND gates G₃ and G₄.

An R-S type flip-flop F₂ comprises a set input terminal connected to receive an output signal of a one-shot multivibrator Q which is driven by the synchronization pulse β, and a reset input terminal connected to receive the output signal of the button mode selection key SB. The set output signal of the flip-flop F₂ is applied to the AND gate G₄, and the reset output signal of the flip-flop F₂ is applied to the AND gate G₃. Output signals of the AND gates G₃ and G₄ are applied to a driver circuit D through an OR gate G₅ for driving an indication lamp L₁.

The AND gate G₃ is also connected to receive a pulse signal SS of a predetermined frequency. The indication lamp L₁ is located on a control panel M of the automatic electronic sewing machine, near the button mode selection key SB as shown in FIG. 9.

In case where the needle 3 is separated from the work at the beginning of the button operation, the synchronization signal β takes the logic "1". The one-shot multivibrator Q is constructed so that it develops the output signal when the input signal is changed from the logic "0" to the logic "1". Accordingly, the one-shot multivibrator Q does not develop the output signal. Under these conditions when the button mode selection key SB is depressed, the flip-flop F₁ is set and develops the set output signal toward the AND gate G₃. The AND gate G₃ functions to transfer the pulse signal SS to the OR gate G₅, whereby the indication lamp L₁ is driven to flicker.

The flickering of the indication lamp L₁ indicates the fact that the preceding stitch pattern formation is not completed. The operator must manually rotate the main shaft 2 in order to drive the needle 3 to penetrate the work once. With this operation, the synchronization pulse β is sequentially changed "1", "0" and "1", and the flip-flop F₂ is set by the output signal of the one-shot multivibrator Q at a time when the synchronization signal β is changed from the logic "0" to the logic "1". The set output signal of the flip-flop F₂ is applied to the AND gate G₄, of which the output signal is applied to the driver circuit D to continuously enable the indication lamp L₁. The continuous energization of the indication lamp L₁ indicates the fact that the preceding pattern formation is completed.

Under these conditions, the bottommost data "0", "15" stored in the random access memory RAM shown in FIG. 3 are read out and supplied to the registers BX and BY.

Contrarily, in case where the tip end of the needle 3 is located below the work at a time when the button mode selection key SB is depressed, the synchronization pulse β takes the logic "0" and, therefore, the flip-flop F₁ is in the set state and the flip-flop F₂ is in the reset state. The AND gate G₃ is ON to flicker the indication lamp L₁. The operator recognizes the fact that the preceding pattern formation is not completed. When the main shaft 2 is manually rotated, the synchronization pulse β is changed from the logic "0" to the logic "1" in response to the separation of the needle 3 from the work and, hence, the flip-flop F₂ is turned set. At this moment, the AND gate G₄ is turned on to continuously enable the indication lamp L₁. In synchronization with the change of the logic value of the synchronization pulse β from "0" to "1", the data "0", "15" are transferred to the register BX and BY, respectively.

FIGS. 10 and 11 show a portion of yet another embodiment of the automatic electronic sewing machine of the present invention, wherein indication lamps L₂ and L₃ are additionally provided for indicating the needle position. Like elements corresponding to those of FIGS. 2(A), 2(B), 6 and 9 are indicated by like numerals.

The indication lamps L₂ and L₃ are located at positions corresponding to holes H₁ and H₂, respectively, of button shaped label B formed on the control panel M of the automatic electronic sewing machine.

The control circuit of FIG. 10 mainly comprises the flip-flops F₁ and F₂, AND gates G₆ and G₇, and an inverter I₁.

When the button mode selection key SB is depressed, the flip-flop F₁ is set to enable the indication lamp L₁. In case where the tip end of the needle 3 is positioned below the work at a time when the button mode selection key SB is depressed, the flip-flop F₂ is in the reset state. The AND gates G₆ and G₇ are OFF and, therefore, the indication lamps L₂ and L₃ are not enabled. Under these conditions, the main shaft 2 is manually rotated to move the needle 3 upward. The flip-flop F₂ is set at a time when the synchronization pulse β is changed to the logic "1". The AND gate G₇ is turned on to enable the indication lamp L₃ via a driver circuit D₃. The indication lamp L₃ indicates that the following stitch will be formed at the hole H₁. Under these conditions, the bottommost data stored in the random access memory RAM are read out, and the needle 3 is shifted to the position X₀ .

When the needle 3 is separated from the work after formation of the first stitch at the throughhole h₁, the synchronization pulse β takes the logic "1", and the second data from the bottom of the random access memory RAM are read out. The bit BSS receives the information "1" to turn on the AND gate G₆ and turn off the AND gate G₇. The indication lamp L₂ is enabled via a driver circuit D₂, thereby indicating that the following stitch will be formed at the hole H₂, or, the throughhole h₂.

The invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications are intended to be included within the scope of the followings claims. 

What is claimed is:
 1. In an automatic electronic sewing machine which performs a button sewing operation on a button including at least a pair of spaced apart holes therethrough by shifting a needle between said holes in response to an output signal of a control circuit, said control circuit comprising:first means for shifting the needle to a first fixed predetermined position corresponding to one hole formed in said button; second means for shifting the needle to a second position corresponding to another hole formed in said button; and modification means for varying the distance shifted by said needle from said first fixed predetermined position to the second position in response to the distance between the spaced apart holes in the button.
 2. The automatic electronic sewing machine of claim 1 having the capability of performing a desired stitch pattern from any of a plurality of stitch patterns, wherein said control circuit further comprises:a read only memory for storing digital data corresponding to plural stitch patterns; selection means for selecting a desired stitch pattern from the plural stitch patterns stored in said read only memory; a random access memory for temporarily storing the digital data of the desired stitch pattern derived from the read only memory; and means for applying said digital data temporarily stored in said random access memory to said first and second means for shifting the needle.
 3. The automatic electronic sewing machine of claim 2, wherein said modification means comprise a digital circuit means modifying the digital data temporarily stored in said random access memory before said data are applied to said second means.
 4. The automatic electronic sewing machine of claim 3, wherein said digital circuit means comprises a subtractor and means for selecting a desired subtraction value to be subtracted from said digital data temporarily stored in said random access memory.
 5. The automatic electronic sewing machine of claim 1, 2, or 3, wherein said second means comprise an amplifier, and said modification means include variation means for varying the gain of said amplifier.
 6. The automatic electronic sewing machine of claim 5, wherein said variation means comprise a variable resistor interposed within a feedback loop of said amplifier.
 7. The automatic electronic sewing machine of claim 5, which further comprises an indication lamp for indicating whether the preceding desired pattern is completed when the button operation is desired to be performed.
 8. The automatic electronic sewing machine of claim 1, 2, 3, 4 or 5, which further comprises an indication lamp for indicating whether the preceding desired pattern is completed when the button operation is desired to be performed. 